package top.lixunda.books3.dao;

import org.apache.ibatis.annotations.Param;
import top.lixunda.books3.entity.UserCollege;
import top.lixunda.books3.entity.UserCollegeExample;

import java.util.List;

public interface UserCollegeMapper {
    long countByExample(UserCollegeExample example);

    int deleteByExample(UserCollegeExample example);

    int deleteByPrimaryKey(Long user);

    int insert(UserCollege record);

    int insertSelective(UserCollege record);

    List<UserCollege> selectByExample(UserCollegeExample example);

    UserCollege selectByPrimaryKey(Long user);

    int updateByExampleSelective(@Param("record") UserCollege record, @Param("example") UserCollegeExample example);

    int updateByExample(@Param("record") UserCollege record, @Param("example") UserCollegeExample example);

    int updateByPrimaryKeySelective(UserCollege record);

    int updateByPrimaryKey(UserCollege record);
}